package org.rafal.springframework.helpers;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
@Component
public class TaskService {

	private final static Log logger = LogFactory.getLog(TaskService.class);

	@Scheduled(cron="0 * * * * *")
	public static void LogService() {
		logger.info("Task Scheduling working:>..");
	}
}
